package cn.edu.scau.cmi.linpeiwei.singleton;

public class Chairman {
	private static Chairman chairman;
	private String name;
	private Chairman(String name) {
		this.name = name;
	}
	
	public static Chairman getChairman(String name) {
		if(!name.equals(null) && chairman == null)
			chairman = new Chairman(name);
		return chairman;
	}
	public String getName() {
		return name;
	}
}
